<template>
  <div id="app">
    <div class="nav">
      <ul>
        <li><router-link to="/">HOME</router-link> </li>
        <li><router-link to="/hello">HELLO</router-link></li>
      </ul>
    </div>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'App',
  components: {

  }
}
</script>

<style>
  .nav {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 50px;
    margin: 20px;
  }
  .nav ul {
    width: 100%;
    display: flex;
  }
  .nav ul li {
    margin-right: 5%;
  }
  .nav ul li a {
    font-size: medium;
    color: #676358;
  }
</style>
